[INFO] cloning repository https://github.com/GRDigital/memory-reader
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GRDigital/memory-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGRDigital%2Fmemory-reader", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGRDigital%2Fmemory-reader'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 682e789a8680d80c46a9a073d15878c13e46b3d5
[INFO] building GRDigital/memory-reader against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGRDigital%2Fmemory-reader" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/GRDigital/memory-reader on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-5/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/GRDigital/memory-reader
[INFO] finished tweaking git repo https://github.com/GRDigital/memory-reader
[INFO] tweaked toml for git repo https://github.com/GRDigital/memory-reader written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/GRDigital/memory-reader already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f4483ceb44c8d5c623cf3ee862c351ed708bffcc354001defef1714a4d5ab0e5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f4483ceb44c8d5c623cf3ee862c351ed708bffcc354001defef1714a4d5ab0e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f4483ceb44c8d5c623cf3ee862c351ed708bffcc354001defef1714a4d5ab0e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4483ceb44c8d5c623cf3ee862c351ed708bffcc354001defef1714a4d5ab0e5", kill_on_drop: false }`
[INFO] [stdout] f4483ceb44c8d5c623cf3ee862c351ed708bffcc354001defef1714a4d5ab0e5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 66100dc392fadcea31a348299a195f060e99a0c52b68db0a973414e9634abf49
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "66100dc392fadcea31a348299a195f060e99a0c52b68db0a973414e9634abf49", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling proc-macro2 v1.0.7
[INFO] [stderr]    Compiling syn v1.0.12
[INFO] [stderr]    Compiling serde v1.0.94
[INFO] [stderr]    Compiling libc v0.2.59
[INFO] [stderr]    Compiling anyhow v1.0.26
[INFO] [stderr]    Compiling winapi v0.3.7
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling widestring v0.4.0
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling memory-reader v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/read_memory.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 4 |     um::{handleapi::CloseHandle, tlhelp32::*, winnt::HANDLE},
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]  --> src/read_memory.rs:3:2
[INFO] [stdout]   |
[INFO] [stdout] 3 |     ctypes::*,
[INFO] [stdout]   |     ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PROCESSENTRY32W`
[INFO] [stdout]   --> src/read_memory.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut process = PROCESSENTRY32W::default();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ use of undeclared type `PROCESSENTRY32W`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MODULEENTRY32W`
[INFO] [stdout]   --> src/read_memory.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut module_entry = MODULEENTRY32W::default();
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^ use of undeclared type `MODULEENTRY32W`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MODULEENTRY32W`
[INFO] [stdout]   --> src/read_memory.rs:68:26
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut module_entry = MODULEENTRY32W::default();
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^ use of undeclared type `MODULEENTRY32W`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]  --> src/read_memory.rs:8:40
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let all_processes_snapshot = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) };
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope
[INFO] [stdout]  --> src/read_memory.rs:8:65
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let all_processes_snapshot = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) };
[INFO] [stdout]   |                                                                    ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]  --> src/read_memory.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 |     defer!(if unsafe { CloseHandle(all_processes_snapshot) } == 0 {
[INFO] [stdout]   |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]   --> src/read_memory.rs:16:40
[INFO] [stdout]    |
[INFO] [stdout] 7  | fn get_pid(process_name: &str) -> anyhow::Result<u32> {
[INFO] [stdout]    |           - help: you might be missing a type parameter: `<PROCESSENTRY32W>`
[INFO] [stdout] ...
[INFO] [stdout] 16 |         process.dwSize = std::mem::size_of::<PROCESSENTRY32W>() as u32;
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in this scope
[INFO] [stdout]   --> src/read_memory.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     if unsafe { Process32FirstW(all_processes_snapshot, &mut process) } == 0 {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in this scope
[INFO] [stdout]   --> src/read_memory.rs:29:15
[INFO] [stdout]    |
[INFO] [stdout] 29 |         if unsafe { Process32NextW(all_processes_snapshot, &mut process) } == 0 {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]   --> src/read_memory.rs:38:34
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let process_snapshot = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope
[INFO] [stdout]   --> src/read_memory.rs:38:59
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let process_snapshot = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope
[INFO] [stdout]   --> src/read_memory.rs:38:79
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let process_snapshot = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stdout]    |                                                                                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]   --> src/read_memory.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 39 |     defer!(if unsafe { CloseHandle(process_snapshot) } == 0 {
[INFO] [stdout]    |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope
[INFO] [stdout]   --> src/read_memory.rs:46:45
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn process_path(process_name: &str) -> anyhow::Result<String> {
[INFO] [stdout]    |                    - help: you might be missing a type parameter: `<MODULEENTRY32W>`
[INFO] [stdout] ...
[INFO] [stdout] 46 |         module_entry.dwSize = std::mem::size_of::<MODULEENTRY32W>() as u32;
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in this scope
[INFO] [stdout]   --> src/read_memory.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 |     if unsafe { Module32FirstW(process_snapshot, &mut module_entry) } != 1 {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/read_memory.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     snapshot: HANDLE,
[INFO] [stdout]    |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/read_memory.rs:66:25
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let process_snapshot: HANDLE = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stdout]    |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]   --> src/read_memory.rs:66:43
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let process_snapshot: HANDLE = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope
[INFO] [stdout]   --> src/read_memory.rs:66:68
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let process_snapshot: HANDLE = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope
[INFO] [stdout]   --> src/read_memory.rs:66:88
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let process_snapshot: HANDLE = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) };
[INFO] [stdout]    |                                                                                              ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope
[INFO] [stdout]   --> src/read_memory.rs:71:46
[INFO] [stdout]    |
[INFO] [stdout] 64 | impl Module {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<MODULEENTRY32W>`
[INFO] [stdout] ...
[INFO] [stdout] 71 |             module_entry.dwSize = std::mem::size_of::<MODULEENTRY32W>() as u32;
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in this scope
[INFO] [stdout]   --> src/read_memory.rs:74:15
[INFO] [stdout]    |
[INFO] [stdout] 74 |         if unsafe { Module32FirstW(process_snapshot, &mut module_entry) } != 1 {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in this scope
[INFO] [stdout]   --> src/read_memory.rs:90:16
[INFO] [stdout]    |
[INFO] [stdout] 90 |             if unsafe { Module32NextW(process_snapshot, &mut module_entry) } == 0 {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]   --> src/read_memory.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 if unsafe { CloseHandle(process_snapshot) } == 0 {
[INFO] [stdout]    |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/read_memory.rs:104:15
[INFO] [stdout]     |
[INFO] [stdout] 104 |         if unsafe { CloseHandle(self.snapshot) } == 0 {
[INFO] [stdout]     |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Toolhelp32ReadProcessMemory` in this scope
[INFO] [stdout]    --> src/read_memory.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let success = Toolhelp32ReadProcessMemory(pid, address as *const c_void, buffer as *mut c_void, std::mem::size_of::<T>(), &mut 0);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]    --> src/read_memory.rs:113:68
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let success = Toolhelp32ReadProcessMemory(pid, address as *const c_void, buffer as *mut c_void, std::mem::size_of::<T>(), &mut 0);
[INFO] [stdout]     |                                                                          ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use core::ffi::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use libc::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::raw::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]    --> src/read_memory.rs:113:91
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let success = Toolhelp32ReadProcessMemory(pid, address as *const c_void, buffer as *mut c_void, std::mem::size_of::<T>(), &mut 0);
[INFO] [stdout]     |                                                                                                 ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use core::ffi::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use libc::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::raw::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 30 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `memory-reader`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "66100dc392fadcea31a348299a195f060e99a0c52b68db0a973414e9634abf49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66100dc392fadcea31a348299a195f060e99a0c52b68db0a973414e9634abf49", kill_on_drop: false }`
[INFO] [stdout] 66100dc392fadcea31a348299a195f060e99a0c52b68db0a973414e9634abf49
